package com.hmall.api.client;

import com.hmall.api.po.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("trade-service")
public interface OrderClient {

    @PutMapping("/orders/updateOrder")
    public void updateOrder(@RequestBody Order order);
}
